var mrPeng = {
  name: '彭于晏',
  age: 18,
  sex: 'boy',
  helth: 100,
  drink: function() {
    console.log('I am drinking');
    this.helth++
  },
  smoke: function() {
    console.log('I am smoking');
    this.helth--
  }
}

// console.log(mrPeng.name);
// mrPeng.like = '章若楠'

// var abc = 'like'
// mrPeng[abc] = '刘亦菲'
// console.log(mrPeng)

// mrPeng['age'] = 19
// console.log(mrPeng)

// delete mrPeng.sex
// console.log(mrPeng)

mrPeng.smoke()
mrPeng.smoke()
mrPeng.drink()
console.log(mrPeng.helth);